package cn.ainit.sys.query.entity;

import java.util.ArrayList;
import java.util.List;

import javax.management.loading.PrivateClassLoader;

public class QueryJson {
	private int total;//总数
	private int cacheTotal;//总数
	private int pageSize;//每页记录数 (每页多少条)
	private int pageNumber;//当前页码
	private int[] pageList; //可选择的每页记录数
	private String url;   //路径
	private List rows=new ArrayList(); //数据
	private String json ;//数据
	private List cacheRows; //缓存数据
	private List columns;//要显示的字段
	private List queryColumns; //主明细中主表的左上边的columns
	private List buttons;//显示的按钮
	private String tablePK; //表中的主键
	private String extendinfo;  //DS添加的时候是Query还是UI
	private String msg; //返回信息
	private List otherList;
	private List footer=new ArrayList(); //合计
	
	//以下是弹窗 一对多对照信息的时候使用
	private String showPk;//显示的字段
	private String showName;//显示的名字
	private String describ;//显示的描述
	private String sureFunc;//个性的方法
	private String describFlag; //如果是T则返回选中的行
	private String sameDsid; //用于存储一对多的dsid
	private String multable; //一对多的表
	private String mulFunction;//存一对多的个性的方法
	private String mulDsId;   //存一对多对照表的dsId
	
	
	/*************
	 * 新版本一对多弹框对照信息的方法
	 * @return
	 */
	private String multitable;//获取一对多对应的表
	private String multiClnsFk; //对应第三张表的sin
	private String multiClnsDValue;//存编码的字段
	private String multiClnsDescrib;//除了编码以外要返回的字段
	private String multiSameDsid;//相似的dsId
	private String multiDzDsId;//获取第三张表的dsId
	private String multiDescridFlag;  
	private String multiReturnFunc; //弹框的回掉函数 
	
	
	
	
	public String getJson() {
		return json;
	}
	public void setJson(String json) {
		this.json = json;
	}
	public String getMultitable() {
		return multitable;
	}
	public void setMultitable(String multitable) {
		this.multitable = multitable;
	}
	public String getMultiClnsFk() {
		return multiClnsFk;
	}
	public void setMultiClnsFk(String multiClnsFk) {
		this.multiClnsFk = multiClnsFk;
	}
	public String getMultiClnsDValue() {
		return multiClnsDValue;
	}
	public void setMultiClnsDValue(String multiClnsDValue) {
		this.multiClnsDValue = multiClnsDValue;
	}
	public String getMultiClnsDescrib() {
		return multiClnsDescrib;
	}
	public void setMultiClnsDescrib(String multiClnsDescrib) {
		this.multiClnsDescrib = multiClnsDescrib;
	}
	public String getMultiSameDsid() {
		return multiSameDsid;
	}
	public void setMultiSameDsid(String multiSameDsid) {
		this.multiSameDsid = multiSameDsid;
	}
	public String getMultiDzDsId() {
		return multiDzDsId;
	}
	public void setMultiDzDsId(String multiDzDsId) {
		this.multiDzDsId = multiDzDsId;
	}
	public String getMultiDescridFlag() {
		return multiDescridFlag;
	}
	public void setMultiDescridFlag(String multiDescridFlag) {
		this.multiDescridFlag = multiDescridFlag;
	}
	public String getMultiReturnFunc() {
		return multiReturnFunc;
	}
	public void setMultiReturnFunc(String multiReturnFunc) {
		this.multiReturnFunc = multiReturnFunc;
	}
	public String getMulDsId() {
		return mulDsId;
	}
	public void setMulDsId(String mulDsId) {
		this.mulDsId = mulDsId;
	}
	public String getMulFunction() {
		return mulFunction;
	}
	public void setMulFunction(String mulFunction) {
		this.mulFunction = mulFunction;
	}
	public String getSameDsid() {
		return sameDsid;
	}
	public String getMultable() {
		return multable;
	}
	public void setMultable(String multable) {
		this.multable = multable;
	}
	public void setSameDsid(String sameDsid) {
		this.sameDsid = sameDsid;
	}
	public String getSureFunc() {
		return sureFunc;
	}
	public void setSureFunc(String sureFunc) {
		this.sureFunc = sureFunc;
	}
	public String getShowPk() {
		return showPk;
	}
	public void setShowPk(String showPk) {
		this.showPk = showPk;
	}
	public String getShowName() {
		return showName;
	}
	public void setShowName(String showName) {
		this.showName = showName;
	}
	public String getDescrib() {
		return describ;
	}
	public void setDescrib(String describ) {
		this.describ = describ;
	}
	public List getOtherList() {
		return otherList;
	}
	public void setOtherList(List otherList) {
		this.otherList = otherList;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getPageNumber() {
		return pageNumber;
	}
	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}
	 
	public int[] getPageList() {
		return pageList;
	}
	public void setPageList(int[] pageList) {
		this.pageList = pageList;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public List getRows() {
		return rows;
	}
	public void setRows(List rows) {
		this.rows = rows;
	}
	public List getColumns() {
		return columns;
	}
	public void setColumns(List columns) {
		this.columns = columns;
	}
	public List getButtons() {
		return buttons;
	}
	public void setButtons(List buttons) {
		this.buttons = buttons;
	}
	public String getTablePK() {
		return tablePK;
	}
	public void setTablePK(String tablePK) {
		this.tablePK = tablePK;
	}
	public String getExtendinfo() {
		return extendinfo;
	}
	public void setExtendinfo(String extendinfo) {
		this.extendinfo = extendinfo;
	}
	public List getQueryColumns() {
		return queryColumns;
	}
	public void setQueryColumns(List queryColumns) {
		this.queryColumns = queryColumns;
	}
	public String getDescribFlag() {
		return describFlag;
	}
	public void setDescribFlag(String describFlag) {
		this.describFlag = describFlag;
	}
	public List getFooter() {
		return footer;
	}
	public void setFooter(List footer) {
		this.footer = footer;
	}
	public List getCacheRows() {
		return cacheRows;
	}
	public void setCacheRows(List cacheRows) {
		this.cacheRows = cacheRows;
	}
	public int getCacheTotal() {
		return cacheTotal;
	}
	public void setCacheTotal(int cacheTotal) {
		this.cacheTotal = cacheTotal;
	}
	
	
 }
